// 集成hooks
import { useActionTableColumn } from '@/views/DocList/hooks/Useaction';
import { useNameTableColumn } from '@/views/DocList/hooks/Usename';
import { useOwnerTableColumn } from '@/views/DocList/hooks/Useowner';
import { useUpdateTimeTableColumn } from '@/views/DocList/hooks/Useupdatetime';

export const useTableColumns = (handleMenuClick) => {

    const nameColumn = useNameTableColumn()
    const ownerColumn = useOwnerTableColumn()
    const updateTimeColumn = useUpdateTimeTableColumn()
    const actionColumn = useActionTableColumn(handleMenuClick)
    return {
        nameColumn,
        ownerColumn,
        updateTimeColumn,
        actionColumn,
    }
}